package com.senlingspace.common.core.dingtalk;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 钉钉配置
 *
 * @author lebronjames
 * @date 2024/08/19
 */
@Data
@Configuration
public class DingTalkProperties {

    /**
     * 机器人密钥
     */
    @Value("${dingtalk.error-message.robot-secret}")
    private String errMsgRobotSecret;

    /**
     * 机器人地址
     */
    @Value("${dingtalk.error-message.robot-webhook}")
    private String errMsgRobotWebhook;

}
